package com.csht.page;

import java.util.List;

/**
 * 分页数据封装类
 * @author chenhuiyan
 *
 * @param <T>
 */
public class PagerModel<T> {

	private int offset; //偏移量
	
	private int noticePageSize; //消息通知每页记录数
	
	private int messagePageSize; //留言每页记录数
	
	private int goodsListPageSize; //商品列表每页记录数
	
	private long totalSize; //总记录
	
	private List<T> dates; //对象数据

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getNoticePageSize() {
		return noticePageSize;
	}

	public void setNoticePageSize(int noticePageSize) {
		this.noticePageSize = noticePageSize;
	}

	public long getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(long totalSize) {
		this.totalSize = totalSize;
	}

	public List<T> getDates() {
		return dates;
	}

	public void setDates(List<T> dates) {
		this.dates = dates;
	}

	public int getMessagePageSize() {
		return messagePageSize;
	}

	public void setMessagePageSize(int messagePageSize) {
		this.messagePageSize = messagePageSize;
	}

	public int getGoodsListPageSize() {
		return goodsListPageSize;
	}

	public void setGoodsListPageSize(int goodsListPageSize) {
		this.goodsListPageSize = goodsListPageSize;
	}
	
	
}
